# Contributor: Martijn Braam <martijn@brixit.nl>
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=lsip6
pkgver=0.2.0
pkgrel=1
pkgdesc="Look up IPv6 link-local addresses on point-to-point links"
url="https://git.sr.ht/~martijnbraam/lsip6"
arch="all"
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/lsip6/archive/$pkgver.tar.gz"
depends="python3"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
options="!check" # No testsuite
subpackages="$pkgname-pyc"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir"\
		.dist/*.whl
}


sha512sums="
e5af476807ff1315df9830a0de3875bde6025a7d508aa11c54d4c05f9649159bb3dec51419103427ca7cb63932e92e614ff41b7bc24f0fa2b913671cbfa3816b  lsip6-0.2.0.tar.gz
"
